package com.lagou.edu.Test;

import com.lagou.edu.factory.BeanFactory;
import com.lagou.edu.factory.ProxyFactory;
import com.lagou.edu.service.TransferService;
import org.junit.Test;

public class IoCTest {
    @Test
    public void testIoC() throws Exception {
//        ProxyFactory proxyFactory = (ProxyFactory) BeanFactory.getBean("proxyFactory");
        TransferService transferService = (TransferService) BeanFactory.getBean("transferService");
        System.out.println("断点测试BeanFactory初始化中方法是否正常");
    }
}
